
package com.api.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;


/**
 * 登录表单
 */
@Data
@Schema(title = "登录表单")
public class LoginDTO {
    @Schema(title = "账号")
    @NotBlank(message="账号不能为空")
    private String username;

    @Schema(title = "密码")
    @NotBlank(message="密码不能为空")
    private String password;

}
